package interfazData;

import java.io.Serializable;
import java.util.List;

import com.vaadin.data.util.BeanItemContainer;


@SuppressWarnings("serial")
public class PozoVecContainer extends BeanItemContainer<PozoVecino> implements
Serializable{
	  public static final Object[] NATURAL_COL_ORDER = new Object[] {
           "codigo", "propiedad", "propietario", "produccion", "este","norte", "distancia"};
	  
	  public static final String[] COL_HEADERS_EN_STRINGS = new String[] {
          "Codigo", "Propiedad", "Propietario", "Produccion",
          "Este", "Norte", "Distancia" };
	public PozoVecContainer(Class<? super PozoVecino> type , List<PozoVecino> lista)
			throws IllegalArgumentException {
		super(type);
		PozoVecContainer c = null;
		for(int i=0; i<lista.size();i++){
			c.addItem(lista.get(i));
		}
	}

}
